SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b12f22ca9b1debac1572155d1d4bcf49a222e1708e30419abc3219877cded1b1}Belg{b12f22ca9b1debac1572155d1d4bcf49a222e1708e30419abc3219877cded1b1}' OR prCity = 'Belg' OR prZip = 'Belg' OR prStreet LIKE '{b12f22ca9b1debac1572155d1d4bcf49a222e1708e30419abc3219877cded1b1}Belg{b12f22ca9b1debac1572155d1d4bcf49a222e1708e30419abc3219877cded1b1}' OR prCountry = 'Belg') AND (prLocation LIKE '{b12f22ca9b1debac1572155d1d4bcf49a222e1708e30419abc3219877cded1b1}Germany{b12f22ca9b1debac1572155d1d4bcf49a222e1708e30419abc3219877cded1b1}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{b12f22ca9b1debac1572155d1d4bcf49a222e1708e30419abc3219877cded1b1}Germany{b12f22ca9b1debac1572155d1d4bcf49a222e1708e30419abc3219877cded1b1}' OR prCountry = 'Germany')